package com.wsj.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wsj.util.page.PageResultSet;
import com.wsj.web.vo.homeSite.DirectSeedName;

public interface IDirectSeedNameDao {

	public void add(DirectSeedName directSeedName) throws DataAccessException ;
	
	public void delete(DirectSeedName directSeedName) throws DataAccessException ;
	
	public void update(DirectSeedName directSeedName) throws DataAccessException ;
	
	public DirectSeedName loadById(Integer id) throws DataAccessException ;
	
	public DirectSeedName loadByName(String name) throws DataAccessException;
	
	public List<DirectSeedName> loadAll() throws DataAccessException ;

	public PageResultSet loadPageList(String keyWord,String name,Short iscommend,Short del,String beginDate,String endDate,Integer page,Integer pageSize) throws DataAccessException;

	public List loadDirectSeedNameByInputtime(String year)throws DataAccessException ;

	public DirectSeedName getZuiXinTopDirectSeedName(int top)throws DataAccessException ;

	public List getTopDirectSeedName(int top, Integer sameId)throws DataAccessException ;

	public DirectSeedName getzuixinDSeedName()throws DataAccessException ;

	public List getTopByZxinDirectSeedName(Integer zxinDSeedNameid, int top)throws DataAccessException ;
	
	
	
	
	
}
